package com;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 *
 * @author caizw
 * @date 2017/1/17
 */
@SpringBootApplication
@EnableTransactionManagement
@EntityScan("com.moduleSys.entity")
@EnableJpaRepositories(basePackages = "com.moduleSys.dao")
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
